helpstring("Creates a Color common dialog box that enables the user to select a color"),
]
BOOL WINAPI ChooseColor(LPCHOOSECOLOR lpcc);
const DWORD CC_RGBINIT = 0x00000001;
const DWORD CC_FULLOPEN = 0x00000002;
const DWORD CC_PREVENTFULLOPEN = 0x00000004;
const DWORD CC_SHOWHELP = 0x00000008;
const DWORD CC_ENABLEHOOK = 0x00000010;
const DWORD CC_ENABLETEMPLATE = 0x00000020;
const DWORD CC_ENABLETEMPLATEHANDLE = 0x00000040;
const DWORD CC_SOLIDCOLOR = 0x00000080;
const DWORD CC_ANYCOLOR = 0x00000100;
const DWORD FR_DOWN = 0x00000001;
const DWORD FR_WHOLEWORD = 0x00000002;
const DWORD FR_MATCHCASE = 0x00000004;
const DWORD FR_FINDNEXT = 0x00000008;
const DWORD FR_REPLACE = 0x00000010;
const DWORD FR_REPLACEALL = 0x00000020;
const DWORD FR_DIALOGTERM = 0x00000040;
const DWORD FR_SHOWHELP = 0x00000080;
const DWORD FR_ENABLEHOOK = 0x00000100;
const DWORD FR_ENABLETEMPLATE = 0x00000200;
const DWORD FR_NOUPDOWN = 0x00000400;
const DWORD FR_NOMATCHCASE = 0x00000800;
const DWORD FR_NOWHOLEWORD = 0x00001000;
const DWORD FR_ENABLETEMPLATEHANDLE = 0x00002000;
const DWORD FR_HIDEUPDOWN = 0x00004000;
const DWORD FR_HIDEMATCHCASE = 0x00008000;
const DWORD FR_HIDEWHOLEWORD = 0x00010000;
[
usesgetlasterror,
#ifdef UNICODE
entry("FindTextW"),
#else
entry("FindTextA"),
#endif
helpstring("Creates a system-defined modeless dialog box that lets the user specify a string to search for and options to use when searching for text in a document"),
]
HWND WINAPI FindText(LPFINDREPLACE lpfr);
[
usesgetlasterror,
#ifdef UNICODE
entry("ReplaceTextW"),
#else
entry("ReplaceTextA"),
#endif
helpstring("Creates a system-defined modeless dialog box that lets the user specify a string to search for and a replacement string, as well as options to control the find and replace operations"),
]
HWND WINAPI ReplaceText(LPFINDREPLACE lpfr);
[
usesgetlasterror,
#ifdef UNICODE
entry("ChooseFontW"),
#else
entry("ChooseFontA"),
#endif
helpstring("Creates a Font common dialog box that enables the user to choose attributes for a logical font"),